//
//  NSError+BSNetWork.h
//  BSOrange
//
//  Created by kenshin on 14-8-4.
//  Copyright (c) 2014年 BazzarEntertainment. All rights reserved.
//

#import <Foundation/Foundation.h>


extern NSString * const BSErrorDomain;

//Error Code
extern NSInteger const BSErrorNotLogin;

@interface NSError (BSNetWork)

+ (NSError *)bsErrorWithErrorCode:(NSInteger)code userInfo:(NSDictionary *)info;

//未登录错误
+ (NSError *)bsNotLoginError;

+ (NSError *)bsErrorWithMessage:(NSString *)message code:(NSInteger)code;

@end
